package com.dyh.quickdemozwei.pimmoju;

import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;

@Setter@Getter
public class BaseFiledBind {
    PiFiledItf pi;


    public static void main(String[] args) {
        String str = "{\"pi\":{\"code\":\"xxx\",\"level\":\"sku\"}}";
        BaseFiledBind baseFiledBind = JSON.parseObject(str,BaseFiledBind.class);


        System.out.println("220110256018543766".length());
        System.out.println();
    }
}
